using B.S.DataBase.MyProject.Domain.PatientMobileDevice;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace MedicalPCTerminal.Read.API.Appcation.Commands.TroubleCommand
{
    /// <summary>
    /// 聊天历史查询命令
    /// </summary>
    public class GetChatHistoryCommand : IRequest<APIResult<List<ChatListItem>>>
    {
        /// <summary>
        /// 医生用户名
        /// </summary>
        public string DoctorName { get; set; }

        /// <summary>
        /// 患者ID
        /// </summary>
        public string PatientId { get; set; }

        /// <summary>
        /// 消息数量限制，默认为20条
        /// </summary>
        public int Limit { get; set; } = 20;

        /// <summary>
        /// 分页，从第几条开始，默认为0
        /// </summary>
        public int Skip { get; set; } = 0;
    }
} 